package cn.stylefeng.guns.modular.kh.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.kh.entity.KhTzStorageOrder;
import cn.stylefeng.guns.modular.kh.model.params.KhTzStorageOrderParam;
import cn.stylefeng.guns.modular.kh.model.result.KhTzStorageOrderResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 提总分拣单 服务类
 * </p>
 *
 * @author zzh
 * @since 2025-10-23
 */
public interface KhTzStorageOrderService extends IService<KhTzStorageOrder> {

    /**
     * 新增
     *
     * @author zzh
     * @Date 2025-10-23
     */
    void add(KhTzStorageOrderParam param);

    /**
     * 删除
     *
     * @author zzh
     * @Date 2025-10-23
     */
    void delete(KhTzStorageOrderParam param);

    /**
     * 更新
     *
     * @author zzh
     * @Date 2025-10-23
     */
    void update(KhTzStorageOrderParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zzh
     * @Date 2025-10-23
     */
    KhTzStorageOrderResult findBySpec(KhTzStorageOrderParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zzh
     * @Date 2025-10-23
     */
    List<KhTzStorageOrderResult> findListBySpec(KhTzStorageOrderParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zzh
     * @Date 2025-10-23
     */
     LayuiPageInfo findPageBySpec(KhTzStorageOrderParam param, String condition);

}
